querySelector

EXAMPLES

// how do u write it?😘
var para = document.querySelector('p:nth-child(7 of .text_Latin)')
var para = 
	document.
querySelector('p:first-child');
var para = 
	 document.
		querySelector(`p:nth-child(7 of .text_Bahasa_Melayu)`);
// how do u write it?😘
var para = document.querySelector('p:nth-child(7 of .text_Latin)')
var para = 
document.querySelector('p:first-child');
var para = 
	 document.
		querySelector(`p:nth-child(7 of .text_Bahasa_Melayu)`);
//Appending an element AND text

//js
var p = document.createElement(`p`);
var el = 
	 document.createElement(`div`);

el.append(`Some text`, p);
el.append(` has been appended`, p);
el.append(` right after one another...`, p); //to element `p'

//sole.log(el.childNodes); 
// ....List [ #text `Some text`, 

]

//Appending an element AND text

//js
var p = document.createElement(`p`);
var el = 
	 document.createElement(`div`);

el.append(`Some text`, p);
el.append(` has nbeen appendined`, p);
el.append(` right after one another...`, p); //to element `p'

//sole.log(el.childNodes); 
// ....List [ #text `Some text`, <p> ]